<!--
描述：出版社组件
开发人：zangyanming
开发日期：2018年8月2日
-->
<template lang="pug">
    keep-alive
        kalix-table(bizKey="publisher" title='出版社信息列表' v-bind:tableFields="tableFields" v-bind:targetURL="targetURL"
        v-bind:bizDialog="bizDialog" v-bind:bizSearch="'PublisherSearch'" v-bind:btnList="btnList"
        v-bind:isFixedColumn="isFixedColumn")
</template>

<script type="text/ecmascript-6">
    import {PublisherURL, ToolButtonList} from '../../config.toml'

    export default {
        name: 'kalix-educational-publisher',
        data() {
            return {
                btnList: ToolButtonList,
                targetURL: PublisherURL,
                tableFields: [
                    {prop: 'pressCode', label: '代码'},
                    {prop: 'fullName', label: '名称'},
                    {prop: 'abbrName', label: '简称'}
                ],
                bizDialog: [
                    {id: 'view', dialog: 'PublisherView'},
                    {id: 'edit', dialog: 'PublisherAdd'},
                    {id: 'add', dialog: 'PublisherAdd'}
                ],
                isFixedColumn: true
            }
        },
        components: {},
        created() {
        },
        activated() {
        },
        deactivated() {
        },
        methods: {}
    }
</script>

<style scoped lang="stylus">
</style>
